Mollie\WooCommerce\Shared\Data C

Total Complexity 114
Dependencies 12
Dependents 19
Total lines 629
Lines of code 383
Logical lines of code 242
Comment lines 197
Methods 37
Properties 8

Methods 37

Method Rating Maintainability Complexity Lines of code
getUserMollieCustomerId()
A
43 13 42
getApiPaymentMethods()
A
44 10 41
getAllAvailablePaymentMethods()
A
46 9 37
isWcSubscription()
S
63 9 9
getMethodIssuers()
S
55 7 17
addRecurringPaymentMethods()
S
56 6 19
getMethodWithIssuersById()
S
57 5 17
wooCommerceFiltersForCheckout()
S
57 5 15
getFilters()
S
53 4 22
getRegularPaymentMethods()
S
57 4 16
getCachedMethodById()
S
60 4 14
setUserMollieCustomerId()
S
60 3 13
getAllPaymentMethods()
S
63 3 11
getPaymentMethod()
S
62 3 11
getRecurringPaymentMethods()
S
67 3 7
isValidApiKeyProvided()
S
71 2 5
getTransientId()
S
63 2 10
getPayment()
S
65 2 8
setUserMollieCustomerIdAtSubscription()
S
67 2 8
getActiveMolliePaymentMode()
S
74 1 4
processSettings()
S
81 1 3
restoreOrderStock()
S
81 1 3
formatCurrencyValue()
S
79 1 3
isBlockPluginActive()
S
80 1 3
isSubscription()
S
74 1 4
pluginPath()
S
82 1 3
getOrderCurrency()
S
81 1 3
getGlobalSettingsUrl()
S
81 1 3
isSubscriptionPluginActive()
S
75 1 4
processAdminOptions()
S
81 1 3
isTestModeEnabled()
S
81 1 3
getPluginId()
S
82 1 3
getAmountValue()
S
79 1 3
getApiKey()
S
80 1 3
getCurrentLocale()
S
79 1 3
getPaymentLocale()
S
81 1 3
__construct()
S
69 1 7